home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / djgpp / include / sys / errno.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-11  |  1.9 KB  |  78 lines

  1. /*
  2.  * DESQview/X Socket Library. Copyright (c) 1991 Quarterdeck Office Systems.
  3.  */
  4.  
  5. /*
  6.  * Copyright (c) 1983 Regents of the University of California.
  7.  * All rights reserved.  The Berkeley software License Agreement
  8.  * specifies the terms and conditions for redistribution.
  9.  */
  10.  
  11. /*      @(#)errno.h    */
  12.  
  13.  
  14. #ifndef __SYS_ERRNO_H__
  15. #define __SYS_ERRNO_H__
  16.  
  17. #include <errno.h>
  18.  
  19. /* Errno Values */
  20. #ifdef ESRCH
  21. #undef ESRCH
  22. #endif
  23. #define ESRCH        3
  24.  
  25. #ifdef EBADF /* Zortech defines this in <errno.h> */
  26. #undef EBADF
  27. #endif
  28. #define EBADF           9       /* Bad file number              */
  29.  
  30. #ifdef EFAULT /* Zortech defines this in <errno.h> */
  31. #undef EFAULT
  32. #endif
  33. #define EFAULT          14      /* Bad address                  */
  34.  
  35. #ifdef EINVAL
  36. #undef EINVAL
  37. #endif
  38. #define EINVAL          22
  39.  
  40. #ifdef EMFILE /* Zortech defines this in <errno.h> */
  41. #undef EMFILE
  42. #endif
  43. #define EMFILE          24
  44.  
  45. #ifdef EPIPE /* Zortech defines this in <errno.h> */
  46. #undef EPIPE
  47. #endif
  48. #define EPIPE           32
  49.  
  50. #ifdef ENOBUFS
  51. #undef ENOBUFS
  52. #endif
  53. #define ENOBUFS        55
  54.  
  55.  
  56. #ifdef EWOULDBLOCK
  57. #undef EWOULDBLOCK
  58. #endif
  59. #define EWOULDBLOCK     35
  60. #define EINPROGRESS     36
  61. #define ENOTSOCK        38      /* Socket operation on non-socket */
  62. #define EMSGSIZE        40      /* Message too long             */
  63. #define EPROTOTYPE      41      /* Protocol wrong type for socket */
  64. #define ENOPROTOOPT     42      /* Bad protocol option          */
  65. #define EPROTONOSUPPORT 43      /* Protocol not supported       */
  66. #define ESOCKTNOSUPPORT 44      /* Socket type not supported    */
  67. #define EAFNOSUPPORT    47      /* Addr family not supported by prot family */
  68. #define EADDRINUSE      48
  69. #define EADDRNOTAVAIL   49
  70. #define ECONNRESET    54
  71. #define EISCONN         56      /* Socket already connected */
  72. #define ENOTCONN        57
  73. #define ESHUTDOWN       58
  74. #define ETIMEDOUT       60
  75. #define ECONNREFUSED    61
  76.  
  77. #endif /*  __SYS_ERRNO_H__ */
  78.